package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @Author mr.wu
 * @Data #{DATE} #{TIME}
 */
@Component("alertRuleJob")
@Slf4j
public class AlertRuleJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    public void AlertRuleTask(){
        alertRuleService.alertRuleFilter();
        log.info("定时任务启动成功");
    }
}
